//
//  AppDelegate.swift
//  appdelegateCode
//
//  Created by liy on 2024/10/16.
//

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {
  var window: UIWindow?

  func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    
		window = UIWindow(frame: UIScreen.main.bounds)
		let vc = ViewController()
		vc.view.backgroundColor = .red
		window?.rootViewController = vc
		window?.makeKeyAndVisible()
		return true
  }
}
